package com.doudou.mybatis.mate.mapper;

import com.doudou.mybatis.mate.core.entity.Page;
import com.doudou.mybatis.mate.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * UserMapper
 *
 * @author jiangcs
 * @since 2022/3/31
 */
@Mapper
public interface UserMapper {
    List<User> selectList(RowBounds rowBounds);

    List<User> selectPage(Page page);

    int insert(User user);
}
